Repository navigation
fix(secrets): skip template secrets the organization already provides - #35
Merged
Merged
Conversation
This was referenced Oct 6, 2026
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The rust and python boilerplates declare a required secret (
CARGO_REGISTRY_TOKEN,PYPI_API_TOKEN). The wizard (step 9) andghscaff apply(step 6) always asked for it — or silently took the vault's copy — and wrote it as a repo secret. In an organization that shares the secret (UniverLab now has one org-levelCARGO_REGISTRY_TOKEN), that repo copy shadows the shared one, so rotating the token in one place stops working for that repo.github::secrets::list_org_secret_names:GET /repos/{owner}/{repo}/actions/organization-secrets; a user-owned repo answers 422, which (like any failure) reads as none, so personal repos keep today's behaviour.templates::secrets_to_configure: the template secrets neither on the repo nor provided by its organization.◆ Secret X: provided by the organizationand skips it;apply: counts org secrets as present.Checked: clippy -D warnings, nextest 846 passed, rust-quality.sh PASSED; the endpoint verified by hand — UniverLab/cadspec lists
CARGO_REGISTRY_TOKEN, JheisonMB/demo-ghscaff answers 422.🤖 Generated with Claude Code
https://claude.ai/code/session_01JeZdT4Zae1BxeLEoKd6kEs